From 4b1997254c460b5c15e8b3edb620d732e7b4462b Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Mon, 9 Jul 2012 16:01:41 +0200 Subject: [PATCH] lib-src/emacsclient.c (w32_execvp): Declare execvp to silence the compiler. --- lib-src/ChangeLog | 4 ++++ lib-src/emacsclient.c | 1 + 2 files changed, 5 insertions(+) diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 1e80d7f416d..75de6293dbf 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,7 @@ +2012-07-09 Juanma Barranquero + + * emacsclient.c (w32_execvp): Declare execvp to silence the compiler. + 2012-07-09 Juanma Barranquero * makefile.w32-in ($(BLD)/test-distrib.exe): Use LIB_SRC, not SRC. diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 46a4fdb26e7..5487c147079 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -463,6 +463,7 @@ int w32_execvp (const char *path, char **argv) { int i; + extern int execvp (const char*, char **); /* Required to allow a .BAT script as alternate editor. */ argv[0] = (char *) alternate_editor; -- 2.30.2